<?php
namespace App\Fastapp\Dto;

use Mine\Annotation\ExcelData;
use Mine\Annotation\ExcelProperty;
use Mine\Interfaces\MineModelExcel;

/**
 * 文章列表Dto （导入导出）
 */
#[ExcelData]
class FastappArticleDto implements MineModelExcel
{
    #[ExcelProperty(value: "主键", index: 0)]
    public string $id;

    #[ExcelProperty(value: "创建时间", index: 1)]
    public string $created_at;

    #[ExcelProperty(value: "更新时间", index: 2)]
    public string $updated_at;

    #[ExcelProperty(value: "删除时间", index: 3)]
    public string $deleted_at;

    #[ExcelProperty(value: "标题", index: 4)]
    public string $title;

    #[ExcelProperty(value: "副标题", index: 5)]
    public string $subtitle;

    #[ExcelProperty(value: "作者", index: 6)]
    public string $author;

    #[ExcelProperty(value: "封面", index: 7)]
    public string $cover;

    #[ExcelProperty(value: "视频", index: 8)]
    public string $video;

    #[ExcelProperty(value: "视频时长", index: 9)]
    public string $video_duration;

    #[ExcelProperty(value: "发布日期", index: 10)]
    public string $release_at;

    #[ExcelProperty(value: "摘要", index: 11)]
    public string $brief;

    #[ExcelProperty(value: "内容", index: 12)]
    public string $content;

    #[ExcelProperty(value: "备注", index: 13)]
    public string $remark;

    #[ExcelProperty(value: "排序", index: 14)]
    public string $sort;

    #[ExcelProperty(value: "评论数", index: 15)]
    public string $critique;

    #[ExcelProperty(value: "浏览数", index: 16)]
    public string $views;

    #[ExcelProperty(value: "点赞数", index: 17)]
    public string $like;

    #[ExcelProperty(value: "显示", index: 18)]
    public string $status;

    #[ExcelProperty(value: "调用代码", index: 19)]
    public string $code;

    #[ExcelProperty(value: "分类id", index: 20)]
    public string $category_id;


}